public class Card {
    private String suit; //类别
    private int rank; //数字
    public Card (String suit, int rank) {
        this.suit = suit;
        this.rank = rank;
    }
    public String getSuit() {
        return suit;
    }

    public int getRank() {
        return rank;
    }

    @Override
    public String toString() {
        return suit + ' ' + rank;
    }
}
